#include "CRectangle.h"
CRectangle::CRectangle (int a,int b)
{
	width=new int;
	height=new int;
	*width =a;
	*height =b;
}
CRectangle::~CRectangle()
{
	delete width;
	delete height;
}
int CRectangle::area()
{
	return ((*width)*(*height));
}